TypeScript Discriminated Unions: การสร้าง State Machines ที่ปลอดภัยต่อประเภทข้อมูล (Type-Safe) | MLOG | MLOG